<script>
import $http from './utils/http/index.js'
import $common from './utils/function/common'

export default {
  globalData: {
    $http: $http,
    $common: $common,
    now_version: '1.0',
    use_car_onShow: true
  },

  onLaunch: function () {
    //#ifdef APP-PLUS
    plus.screen.lockOrientation('portrait-primary'); // 强制竖屏
    //#endif
  }
}
</script>

<style lang="scss">
page{
  font-size: 28rpx;
  background: #f5f5f5;
}

// 右下角添加按钮 START
.add-button {
  position: fixed;
  bottom: 80rpx;
  right: 60rpx;
  width: 120rpx;
  height: 120rpx;
  background-color: #4cd964;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8rpx 12rpx rgba(0, 0, 0, 0.1);
  z-index: 100;

  .add-icon {
    color: #fff;
    width: 60rpx;
    height: 60rpx;
  }
}
// 右下角添加按钮 END


// 底部登录弹框 START
.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* 弹框样式 */
.dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1001;
  transition: transform 0.3s ease; /* 使用动画过渡 */
  height: 65vh;
}

/* 弹框动画效果 */
.slide-up {
  transform: translateY(0%);
}

.slide-down {
  transform: translateY(100%);
}
// 底部登录弹框 END


/*每个页面公共css */
.common-price {
  color: #F0502D;
  font-size: 32rpx;
  //font-weight: bold;

  .small {
    font-size: 28rpx;
    font-weight: 400;
  }
}

checkbox{
  transform: scale(1);
}

//设置圆角
checkbox.round .wx-checkbox-input,
checkbox.round .uni-checkbox-input {
  border-radius: 50%;
}

//设置背景色
checkbox.color[checked] .wx-checkbox-input,
checkbox.color.checked .uni-checkbox-input {
  background-color: #18B055 !important;
  border-color: #18B055 !important;
  color: #ffffff !important;
}
</style>
